package com.bdqn.hospital.service;

import com.bdqn.hospital.pojo.SysUsers;
import org.apache.ibatis.annotations.Param;

import com.bdqn.hospital.pojo.SysUsers;

import com.bdqn.hospital.pojo.SysUsers;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @version : 1.0
 * @Author :guogd
 * @createTime: 2023/03/01 15:06
 * @Description: com.bdqn.hospital.service
 */
public interface SysUsersService {

    /**
     * 登录
     * @param account 用户名
     * @param password 密码
     * @return
     */
    SysUsers logIn(@Param("account")String account,@Param("password") String password);

    /**
     * 根据id获取用户信息
     * @param id
     * @return
     */
    SysUsers getById(Integer id);
    /**
     * 查出门诊医师用户的姓名
     * @return
     */
    List<SysUsers> getUserName();



    List<SysUsers> getAll();

    /**
     * 娣诲姞鐢ㄦ埛
     */

    Integer addUsers(SysUsers users);
}
